    <div class="admin_left actions">
    <h3 style="font-size:20px;">Manage more</h3>
        <ul>
            <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('Edit Size'), array('action' => 'edit', $size['Size']['id']),array('class' => 'consistentButton')); ?> </li>
            <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Form->postLink(__('Delete Size'), array('action' => 'delete', $size['Size']['id']),array('class' => 'consistentButton'), null, __('Are you sure you want to delete # %s?', $size['Size']['id'])); ?> </li>
            <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Sizes'), array('action' => 'index'),array('class' => 'consistentButton')); ?> </li>
            <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Size'), array('action' => 'add'),array('class' => 'consistentButton')); ?> </li>
            <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index'),array('class' => 'consistentButton')); ?> </li>
            <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add'),array('class' => 'consistentButton')); ?> </li>
        </ul>
    </div>

    <div class="admin_right sizes view">
        <h2><?php  echo __('Size'); ?></h2>
        <table class="table table-striped table-bordered">
            <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('Name'); ?></th>
                <th><?php echo __('Size Unit'); ?></th>
            </tr>

            <tr>
                <td>
                    <?php echo h($size['Size']['id']); ?>
                    &nbsp;
                </td>

                <td>
                    <?php echo h($size['Size']['name']); ?>
                    &nbsp;
                </td>

                

                <td>
                    <?php echo h($size['Size']['size_unit']); ?>
                    &nbsp;
                </td>
            </tr>
        </table>


         <?php if ($current_customer['group_id'] == 1): ?>

         <?php endif; ?>

        <div style="border-top:solid 1px; margin-top:10%;" class="related">
              <h3><?php echo __('Related Items'); ?></h3>
              <?php if (!empty($size['Item'])): ?>
                  <table cellpadding = "0" cellspacing = "0" class="table table-striped table-bordered">
                      <tr>
                          <th><?php echo __('Id'); ?></th>
                          <th><?php echo __('Name'); ?></th>
                          <th><?php echo __('Brand Id'); ?></th>
                          <th><?php echo __('Color Id'); ?></th>
                          <th><?php echo __('Condition Id'); ?></th>
                          <th><?php echo __('Size Id'); ?></th>
                          <th><?php echo __('Category Id'); ?></th>
                          <th><?php echo __('Item Status Id'); ?></th>
                          <th><?php echo __('Original Price'); ?></th>
                          <th class="actions"><?php echo __('Actions'); ?></th>
                      </tr>

                      <?php $i = 0; foreach ($size['Item'] as $item): ?>
                          <tr>
                              <td><?php echo $item['id']; ?></td>
                              <td><?php echo $item['name']; ?></td>
                              <td><?php echo $item['brand_id']; ?></td>
                              <td><?php echo $item['color_id']; ?></td>
                              <td><?php echo $item['condition_id']; ?></td>
                              <td><?php echo $item['size_id']; ?></td>
                              <td><?php echo $item['category_id']; ?></td>
                              <td><?php echo $item['item_status_id']; ?></td>
                              <td><?php echo $item['original_price']; ?></td>
                              <td class="actions">
                                  <?php echo $this->Html->link(__('View'), array('controller' => 'items', 'action' => 'view', $item['id'])); ?>
                                  <?php echo $this->Html->link(__('Edit'), array('controller' => 'items', 'action' => 'edit', $item['id'])); ?>
                                  <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'items', 'action' => 'delete', $item['id']), null, __('Are you sure you want to delete # %s?', $item['id'])); ?>
                              </td>
                          </tr>
                      <?php endforeach; ?>
                  </table>
              <?php endif; ?>

              <?php if ($current_customer['group_id'] == 1): ?>
                  <div style="margin-left:78%;" class="actions">
                      <ul>
                          <li style="list-style-type:none; margin-left:0; padding-top:15px;"><?php echo $this->Html->Link(__('Add item to this size'), array('controller' => 'items', 'action' => 'add')); ?> </li>
                      </ul>
                  </div>
              <?php endif; ?>
        </div>
    </div>